package com.dnui.seven2.service;

import com.dnui.seven2.entity.Announcement;
import com.dnui.seven2.entity.Article;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dnui.seven2.entity.Merch;

import java.util.List;

/**
 * @author fengy
 * @description 针对表【article】的数据库操作Service
 * @createDate 2022-10-16 09:00:23
 */
public interface ArticleService extends IService<Article> {
    List<Article> selectAll();
    List<Article> queryArticles(int page, int pageSize);
    void deleteArticle(Long articleId);
    Article queryById(Long articleId);
    void updateArticle(Article article);
}
